<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Packet <i>PastryMessage</i></h2>
<b>File: <a href="src-overlay-pastry-PastryMessage.msg.html">src/overlay/pastry/PastryMessage.msg</a></b><br/><p><a href="../doxy/classPastryMessage.html" target="mainframe"><b>C++ definition</b></a></p>

<p>Base message for all messages used by <a href="oversim.overlay.pastry.Pastry.html">Pastry</a></p>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="PastryMessage-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="PastryMessage.html" title="Packet PastryMessage" alt="" coords="5,6,117,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="PastryMessage-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="PastryMessage.html" title="Packet PastryMessage" alt="" coords="468,83,580,111">
<area shape="rect" id="node4" href="PastryJoinMessage.html" title="Packet PastryJoinMessage" alt="" coords="5,161,141,189">
<area shape="rect" id="node6" href="PastryLeafsetMessage.html" title="Packet PastryLeafsetMessage" alt="" coords="165,161,320,189">
<area shape="rect" id="node8" href="PastryRequestMessage.html" title="Packet PastryRequestMessage" alt="" coords="344,161,507,189">
<area shape="rect" id="node10" href="PastryRoutingRowMessage.html" title="Packet PastryRoutingRowMessage" alt="" coords="531,161,715,189">
<area shape="rect" id="node12" href="PastryRoutingRowRequestMessage.html" title="Packet PastryRoutingRowRequestMessage" alt="" coords="739,161,973,189">
<area shape="rect" id="node14" href="PastryStateMessage.html" title="Packet PastryStateMessage" alt="" coords="997,161,1141,189">
<area shape="rect" id="node2" href="BaseOverlayMessage.html" title="Packet BaseOverlayMessage" alt="" coords="449,6,599,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="BaseOverlayMessage.html">BaseOverlayMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>Base class for all messages handled by overlay modules</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Known subclasses:</h3>
<table>
<tr>
   <td>
      <a href="PastryJoinMessage.html">PastryJoinMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>Message used to join a pastry overlay</p>
   </td>
</tr>
<tr>
   <td>
      <a href="PastryLeafsetMessage.html">PastryLeafsetMessage</a>
      <i> (packet)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
<tr>
   <td>
      <a href="PastryRequestMessage.html">PastryRequestMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>Message used to request PastryState or a Leafset</p>
   </td>
</tr>
<tr>
   <td>
      <a href="PastryRoutingRowMessage.html">PastryRoutingRowMessage</a>
      <i> (packet)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
<tr>
   <td>
      <a href="PastryRoutingRowRequestMessage.html">PastryRoutingRowRequestMessage</a>
      <i> (packet)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
<tr>
   <td>
      <a href="PastryStateMessage.html">PastryStateMessage</a>
      <i> (packet)</i>
   </td>
   <td>

<p>Message used to send a PastryState</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Fields:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
   </tr>
<tr class="inherited">
   <td width="150">statType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type for stats</p>
</td>
</tr>
<tr class="local">
   <td width="150">pastryMsgType</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>the <a href="PastryMsgType.html">PastryMsgType</a></p>
</td>
</tr>
<tr class="inherited">
   <td width="150">type</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>message type</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Base message for all messages used by Pastry
//
</span><span style="color: #800000; font-weight: bold; ">packet</span><span style="color: #000000; "> </span><span style="color: #000000; ">PastryMessage</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">BaseOverlayMessage</span><span style="color: #000000; ">
{
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">pastryMsgType</span><span style="color: #000000; "> = </span><span style="color: #000000; ">PASTRY_MSG_STD</span><span style="color: #000000; ">;    </span><span style="color: #808080; font-style: italic; ">// the PastryMsgType
</span><span style="color: #000000; ">}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
